<template>
	<view class="content">
		<!-- 头部 -->
		<view class="header">
			<!-- 头像 -->
			<view class="portrait">
				<image src="../../static/image/shezzx_toux.png"></image>
			</view>
			<!-- 设置 -->
			<view class="setinfo" @tap="opensetAll">
				<view class="setIcon"></view>
			</view>
		</view>
		<!-- 我的订单 -->
		<view class="myOrder">
			<text>我的订单</text><text>查看全部订单</text>
		</view>
		<view class="m20">
			<navigator url="info" hover-class="navigator-hover">
				<list-item text="个人信息"></list-item>
            </navigator>
			<navigator url="security" hover-class="navigator-hover">
				<list-item text="账户安全"></list-item>
			</navigator>
			<navigator url="" hover-class="navigator-hover">
				<list-item text="我的收藏"></list-item>
			</navigator>
			<navigator url="" hover-class="navigator-hover">
				<list-item text="关联厂家"></list-item>
			</navigator>
		</view>
		
	</view>
</template>

<script>
	import listItem from "../../components/listItem.vue"
	export default {
		data: {
			
		},
		components: {
			listItem,
		},
		methods:{
			opensetAll(){
				uni.navigateTo({
					url: 'setall',
				});
			}
		},
	}
</script>

<style>
.m1{margin-top: 1px;}
.m20{margin-top: 20px;}
.header{
	height: 280px;
	width: 100%;
	background: #fff url('') no-repeat center;
	background-size: 100%;
	display: flex;
	justify-content: space-between;
}
.portrait,.portrait image{
	width: 120px;
	height: 120px;
	border-radius: 50%;
}
.setinfo{
	width: 80px; 
	height: 80px;
	display: flex;
	justify-content: center;
	align-items: center;
}
.setIcon{
	width: 40px;
	height: 40px;
	background: url('') no-repeat center;
	background-size: 100%;
}
.myOrder{
	height: 80px;
	padding: 0 25px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	background-color: #fff;
}
.myOrder text{
	font-size: 34px;
	color: #000000;
}
.myOrder text:last-child{
	font-size: 28px;
	color: #c6c6c6;
	position: relative;
	padding-right: 20px;
}
.myOrder text:last-child:after{
	content: '';
	width: 15px;
	height: 15px;
	position: absolute;
	top: 50%;
	right: 0;
	margin-top: -7px;
	background: transparent;
	border: 3px solid #999999; 
	border-top: none;
	border-right: none;
	z-index: 2;
	border-radius: 0;
	transform: rotate(-135deg); 
}
</style>